package com.zl.registration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author zoulei
 */
@TableName(value ="user_security_question")
@Data
@Accessors(chain = true)
public class UserSecurityQuestion implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 密保对应用户手机号码
     */
    private String phone;

    /**
     * 密保问题
     */
    private String question;

    /**
     * 密保问题答案
     */
    private String answer;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}